package com.example.demo.beans;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;

/**
 * Created by Administrator on 2018-04-26.
 */
@JacksonXmlRootElement(localName = "Response")
public class GetRecipeListResponse extends Response {
   @JacksonXmlElementWrapper(localName = "Recipes")
    @JacksonXmlProperty(localName = "Recipe")
    private List<GetRecipeListItem2> recipes;
  @JacksonXmlProperty(localName = "RegID")
   private  String regID;

    public String getRegID() {
        return regID;
    }

    public void setRegID(String regID) {
        this.regID = regID;
    }

    public List<GetRecipeListItem2> getRecipes() {
        return recipes;
    }

    public void setRecipes(List<GetRecipeListItem2> recipes) {
        this.recipes = recipes;
    }
}
